﻿using System;
using System.Collections.Generic;
using PublicTransportEnabler.net.Enum;

namespace PublicTransportEnabler.net.Model
{
    [Serializable]
    public class QueryDeparturesResult
    {
        public QueryDeparturesResult(ResultHeader header) : this(header, Status.OK)
        {
        }

        public QueryDeparturesResult(ResultHeader header, Status status)
        {
            StationDepartures = new List<StationDepartures>();
            Header = header;
            Status = status;
        }

        public ResultHeader Header { get; private set; }
        public Status Status { get; private set; }
        public List<StationDepartures> StationDepartures { get; private set; }
    }
}